package com.dt.app.modules;

import com.alibaba.fastjson.JSON;
import com.dt.app.modules.test.vo.HyUserBean;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

public class JsonUtil {
    public static void main(String[] args){
        HyUserBean hy = new HyUserBean(1, 1,
                1, "1.23", "userNum", 1,
                1, 1, 1, 1, "loginName",
                "password", "String", "String telephone", "String" , "String comName", "String email",
                1, LocalDateTime.now(), LocalDateTime.now() , LocalDateTime.now(),
                1, 1, 1, 1, 1, 2,
                new BigDecimal(0), new BigDecimal(0), LocalDateTime.now(), "String", LocalDate.now(),
                2, "String headPortrait", "String telVersion","String promoteNum", "String wxOpenid",
                "String wxgzhOpenid", "String czTels", "String unionid", "String qmImg",  "kpNo",  "kpName",
                2, "createIdName");

        System.out.println(JSON.toJSON(hy));
    }
}
